{% extends "base.html" %}

{% block class %}profile{% endblock %}

{% block main %}
<h3>{{ object.user.username }}</h3>
<dl>
	<dd>
		<img class="avatar" src="{{ user.get_profile.get_avatar }}" />
		<ul class="profile">
			<li>occupation: {{ object.occupation }}</li>
			<li>email: {{ object.email }}</li>
			{% if not user.is_anonymous %}
			<li>blog: {{ object.blog }}</li>
			<li>cellphone: {{ object.cellphone }}</li>
			<li>room: {{ object.room }}</li>
			<li>birthday: {{ object.birthday }}</li>
			<li>birthplace: {{ object.birthplace }}</li>
			{% endif %}
			<li>intro: {{ object.intro }}</li>
		</ul>
	</dd>	
</dl>
{% endblock %}
